cmake_minimum_required(VERSION 3.12)
project(compile)
add_subdirectory(../../ blog)
add_executable(${PROJECT_NAME})
target_sources(${PROJECT_NAME} 
    PRIVATE
    ${CMAKE_CURRENT_LIST_DIR}/main.c
)

target_link_libraries(${PROJECT_NAME} PUBLIC blog)